Skip to content

Add USB DesignWare Core 3.0 (DWC3) tests (new)#1926

Merged
fernando79513 merged 4 commits intomainfrom
CHECKBOX-1820-USB-DWC3-tests
May 28, 2025
Merged

Add USB DesignWare Core 3.0 (DWC3) tests (new)#1926
fernando79513 merged 4 commits intomainfrom
CHECKBOX-1820-USB-DWC3-tests

Conversation

@pieqq
Copy link
Copy Markdown
Collaborator

@pieqq pieqq commented May 21, 2025

Following the revert of #1859, this new PR re-introduce the move of the USB DWC3 units into the base provider, but this time make sure that the same units are removed from the IIOTG provider.

This was checked by running ./manage.py validate on both the base and the iiotg providers.

Description

These simple tests have been originally designed for a private project, and slightly adapted to be moved to the base provider. They aim to check if the proper driver and module are loaded, and add some interactive tests to check OTG feature of USB DWC3.

New nested parts are made available, and are used in the 24.04 test plans.

Resolved issues

Fix https://warthogs.atlassian.net/browse/CHECKBOX-1820

Documentation

Tests

pieqq added 4 commits April 18, 2025 14:36
Since these units have been moved to the base provider, they have to be
removed from the IIOTG provider to avoid clashes.
@codecov
Copy link
Copy Markdown

codecov bot commented May 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.20%. Comparing base (983792c) to head (0e9248d).
⚠️ Report is 144 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1926      +/-   ##
==========================================
- Coverage   50.45%   50.20%   -0.25%     
==========================================
  Files         382      382              
  Lines       41026    40781     -245     
  Branches     6890     6842      -48     
==========================================
- Hits        20698    20473     -225     
+ Misses      19584    19576       -8     
+ Partials      744      732      -12     
Flag Coverage Δ
provider-base 25.66% <ø> (-1.02%) ⬇️
provider-certification-client 57.14% <ø> (ø)
provider-iiotg 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codecov is always a mystery. Why did it decrease if you didn't change any script.
Anyways, it looks like the issue with the duplicated tests is solved now.
LGTM +1!

@fernando79513 fernando79513 merged commit b73d08c into main May 28, 2025
29 of 30 checks passed
@fernando79513 fernando79513 deleted the CHECKBOX-1820-USB-DWC3-tests branch May 28, 2025 08:31
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
* Add USB DesignWare Core 3.0 (DWC3) tests

* Add USB DWC3 tests to 24.04 test plans

* Fix shellcheck errors

* Remove references to USB-DWC3 from the IIOTG provider

Since these units have been moved to the base provider, they have to be
removed from the IIOTG provider to avoid clashes.
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
* Add USB DesignWare Core 3.0 (DWC3) tests

* Add USB DWC3 tests to 24.04 test plans

* Fix shellcheck errors

* Remove references to USB-DWC3 from the IIOTG provider

Since these units have been moved to the base provider, they have to be
removed from the IIOTG provider to avoid clashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants